package com.lsl.learn.springcloud.service;

import com.lsl.learn.springcloud.pojo.Dept;

import java.util.List;

/**
 * @ClassName DeptService
 * @Description TODO
 * @Author LSL
 * @Date 2019/8/16 22:26
 * @Version 1.0
 * @Email lsl.yx@foxmail.com
 **/
public interface DeptService {

    boolean add(Dept dept);

    Dept get(Long id);

    List<Dept> list();
}
